export interface LoginRequestData {
  /** admin 或 editor */
  userName: string
  /** 密码 */
  password: string
  /** 昵称 */
  nickname?: string
  /** 验证码 */
  // code: string
  /**租户名 */
  tenantName: string
  /**租户套餐描述 */
  packageName?: string
}

export type LoginCodeResponseData = ApiResponseData<string>

export type LoginResponseData = ApiResponseData<{ token: string }>

export type UserInfoResponseData = ApiResponseData<{ user: LoginRequestData; menus: []; permissions: [] }>
